<template>
	<view class="ys">
		<view class="infoli">
			<view class="title">
				姓名<text>*</text>
			</view>
			<uni-easyinput v-model="name" placeholder="请输入姓名"></uni-easyinput>
		</view>
		<view class="infoli">
			<view class="title">
				手机
			</view>
			<uni-easyinput v-model="phone" placeholder="请输入手机"></uni-easyinput>
		</view>
		<view class="infoli">
			<view class="title">
				留言内容
			</view>
			<uni-easyinput v-model="content" type="textarea" placeholder="请输入留言内容"></uni-easyinput>
		</view>
		<button class="submit" :loading="loading" :disabled="loading" @click="send">提交</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				name: '',
				phone: '',
				content: '',
				loading: false
			}
		},
		onLoad() {

		},
		methods: {

		}
	}
</script>

<style lang="scss">
	page {
		background: #f2f2f2;
		padding-top: 20px;
	}

	.ys {
		background: #fff;
		width: 96%;
		margin: 0 auto;
		padding: 15px;
		box-sizing: border-box;
		border-radius: 8px;
	}

	.infoli {
		width: 100%;
		margin-bottom: 10px;

		.title {
			font-weight: bold;
			font-size: 14px;
			margin-bottom: 10px;

			text {
				color: #f00;
			}
		}
	}
</style>